package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单取消原因对应表对象 service_cancelorder
 * 
 * @author ZDL
 * @date 2024-12-25
 */
public class ServiceCancelorder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 取消对应表主键ID */
    private Long cancelorderId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long cancelorderOrderid;

    /** 原因ID */
    @Excel(name = "原因ID")
    private Long cancelorderReasonid;

    /** 创建者 */
    @Excel(name = "创建者")
    private String cancelorderCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cancelorderCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String cancelorderUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cancelorderUpdateTime;

    /** 备注 */
    @Excel(name = "备注")
    private String cancelorderRemark;

    public void setCancelorderId(Long cancelorderId) 
    {
        this.cancelorderId = cancelorderId;
    }

    public Long getCancelorderId() 
    {
        return cancelorderId;
    }
    public void setCancelorderOrderid(Long cancelorderOrderid) 
    {
        this.cancelorderOrderid = cancelorderOrderid;
    }

    public Long getCancelorderOrderid() 
    {
        return cancelorderOrderid;
    }
    public void setCancelorderReasonid(Long cancelorderReasonid) 
    {
        this.cancelorderReasonid = cancelorderReasonid;
    }

    public Long getCancelorderReasonid() 
    {
        return cancelorderReasonid;
    }
    public void setCancelorderCreateBy(String cancelorderCreateBy) 
    {
        this.cancelorderCreateBy = cancelorderCreateBy;
    }

    public String getCancelorderCreateBy() 
    {
        return cancelorderCreateBy;
    }
    public void setCancelorderCreateTime(Date cancelorderCreateTime) 
    {
        this.cancelorderCreateTime = cancelorderCreateTime;
    }

    public Date getCancelorderCreateTime() 
    {
        return cancelorderCreateTime;
    }
    public void setCancelorderUpdateBy(String cancelorderUpdateBy) 
    {
        this.cancelorderUpdateBy = cancelorderUpdateBy;
    }

    public String getCancelorderUpdateBy() 
    {
        return cancelorderUpdateBy;
    }
    public void setCancelorderUpdateTime(Date cancelorderUpdateTime) 
    {
        this.cancelorderUpdateTime = cancelorderUpdateTime;
    }

    public Date getCancelorderUpdateTime() 
    {
        return cancelorderUpdateTime;
    }
    public void setCancelorderRemark(String cancelorderRemark) 
    {
        this.cancelorderRemark = cancelorderRemark;
    }

    public String getCancelorderRemark() 
    {
        return cancelorderRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cancelorderId", getCancelorderId())
            .append("cancelorderOrderid", getCancelorderOrderid())
            .append("cancelorderReasonid", getCancelorderReasonid())
            .append("cancelorderCreateBy", getCancelorderCreateBy())
            .append("cancelorderCreateTime", getCancelorderCreateTime())
            .append("cancelorderUpdateBy", getCancelorderUpdateBy())
            .append("cancelorderUpdateTime", getCancelorderUpdateTime())
            .append("cancelorderRemark", getCancelorderRemark())
            .toString();
    }
}
